package com.smc.common.exception;

/**
 * 401 : UnAuthorized 异常
 *
 * @author Austin.Cao Date: 9/28/16
 */
public class UnAuthorizedException extends ServiceException {

  private static final long serialVersionUID = 7393842006294982946L;

  public UnAuthorizedException() {
    super();
  }

  public UnAuthorizedException(int code, String message) {
    super(UNAUTHORIZED_CODE, code, message);
  }

  public UnAuthorizedException(String message) {
    super(UNAUTHORIZED_CODE, UNAUTHORIZED_CODE, message);
  }
}
